import { createApp } from 'vue'
import ArcoVueIcon from '@arco-design/web-vue/es/icon'
import globalComponents from '@/components'
import router from './router'
import store from './store'
import App from './App.vue'
import '@/assets/style/global.less'
import ProTable from '../packages/pro-components/components/pro-table/component'
import '@/style/reset.css'
import '@/style/style.less'
import { permission } from './directives/premission'
const app = createApp(App)
app.use(ArcoVueIcon)

app.use(router)
app.use(store)
app.use(globalComponents)
app.directive('permission', permission)
app.component('ProTable', ProTable)

app.mount('#app')
